<div class="nav nav-15" data-num="" id="Jnav_main_new">
    <!--头部-->
    <div class="main">
        <div class="new-header">
            <a href="../" class="logo"></a>
            <div class="nav-head" id="Jnav-head">
                <a href="{{config('app.url')}}"><i>优惠商城</i>
                    <b class="tragl tragl-b"></b>
                </a>
                @foreach($data['category'] as $key => $obj)
                    @if($key < 8)
                        <i class="nav-sep"></i>
                        <a href="{{config('app.url')}}/lists/{{$obj->id}}" enTitle="{{$obj->name}}" chTitle="{{$obj->title}}" title="{{$obj->title}}">
                            <i>{{$obj->title}}</i><b class="tragl tragl-b"></b>
                        </a>
                    @endif
                @endforeach
            </div>
            {{--Search--}}
            {{--<div class="ks ks-btn" style="display:block">
                <form class="JkwForm" target="_blank" method="get"
                      action="{{config('app.url')}}/article/search" name="s"
                      onsubmit="javascript:return checkForm(this,140);">
                    <input type="text" style="color: rgb(135, 135, 135);" id="Jkeyword" name="q" value=""
                           class="inpTxt"
                           onclick="if(this.value==this.defaultValue)this.value='';this.style.color='#444'"
                           onblur="if(this.value==''){this.value=this.defaultValue;this.style.color='#878787'}">
                    <input type="submit" value="搜 索" class="search">
                </form>
            </div>--}}
        </div>
        <div class="nav-sub" id="JnavSub_new">
            <ul>
                <li class="shouye">
                    <div class="maBox">
                        <div class="maApp App">
                            <a href="javascript:;">广告位一</a>
                            <div class="ma">
                                <img src="//pic.yiwqi.com/public/wx_img.jpg"
                                     width="152" height="152">
                                <em></em>
                            </div>
                            <span class="x-icon"></span>
                        </div>
                        <div class="maApp App">
                            <a href="javascript:;">广告位二</a>
                            <div class="ma">
                                <img src="//pic.yiwqi.com/public/wx_img.jpg"
                                     width="152" height="152">
                                <em></em>
                            </div>
                            <span class="x-icon"></span>
                        </div>
                        <div class="maApp App">
                            <a href="javascript:;">广告位三</a>
                            <div class="ma">
                                <img src="//pic.yiwqi.com/public/wx_img.jpg"
                                     width="152" height="152">
                                <em></em>
                            </div>
                            <span class="x-icon"></span>
                        </div>
                        <div class="maApp weCat">
                            <a href="javascript:;">广告位四</a>
                            <div class="ma">
                                <img src="//pic.yiwqi.com/public/wx_img.jpg"
                                     width="152" height="152">
                                <em></em>
                            </div>
                            <span class="x-icon"></span>
                        </div>
                        <div class="maApp weibo">
                            <a href="javascript:;">广告位五</a>
                            <div class="ma">
                                <img src="//pic.yiwqi.com/public/wx_img.jpg"
                                     width="152" height="152">
                                <em></em>
                            </div>
                            <span class="x-icon"></span>
                        </div>
                    </div>
                </li>
                @foreach($data['category'] as $key => $obj)
                    @if($key < 8)
                <li>
                    <span class="nav-channel">
                        @foreach($obj->subNav as $key =>$obj)
                            @if($key !== 0)<i class="nav-sep">|</i>@endif
                            <a href="{{config('app.url')}}/lists/{{$obj['id']}}"
                               title="{{str_replace('乐活_','',$obj->title)}}">{{str_replace('乐活_','',$obj->title)}}</a>
                        @endforeach
                    </span>
                </li>
                @endif
                @endforeach
            </ul>
        </div>
    </div>

</div>
<div class="maBox">
    <div class="maApp App">
        <a href="javascript:;">广告位一</a>
        <div class="ma">
            <img src="//pic.yiwqi.com/public/wx_img.jpg" width="152"
                 height="152">
            <em></em>
        </div>
        <span class="x-icon"></span>
    </div>
    <div class="maApp App">
        <a href="javascript:;">广告位二</a>
        <div class="ma">
            <img src="//pic.yiwqi.com/public/wx_img.jpg" width="152"
                 height="152">
            <em></em>
        </div>
        <span class="x-icon"></span>
    </div>
    <div class="maApp App">
        <a href="javascript:;">广告位三</a>
        <div class="ma">
            <img src="//pic.yiwqi.com/public/wx_img.jpg" width="152"
                 height="152">
            <em></em>
        </div>
        <span class="x-icon"></span>
    </div>
    <div class="maApp weCat">
        <a href="javascript:;">广告位四</a>
        <div class="ma">
            <img src="//pic.yiwqi.com/public/wx_img.jpg" width="152"
                 height="152">
            <em></em>
        </div>
        <span class="x-icon"></span>
    </div>
    <div class="maApp weibo">
        <a href="javascript:;">广告位五</a>
        <div class="ma">
            <img src="//pic.yiwqi.com/public/wx_img.jpg" width="152" height="152">
            <em></em>
        </div>
        <span class="x-icon"></span>
    </div>
</div>